#!/usr/bin/env gnuplot
#画多个图像在一张图上
set multiplot layout 2,2
plot sin(x)
plot sin(2*x)
plot cos(x) 
plot cos(2*x)
unset multiplot

pause 10 
exit
